/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package neuronalenetzeelearning.view;

import neuronalenetzeelearning.model.Edge;
import neuronalenetzeelearning.model.Graph;
import neuronalenetzeelearning.model.Node;

/**
 *
 * @author svenmaster
 */
public interface IController {

    public void addNode(Node node);
    public void addEdge(Node from, Node to);
    public void deleteEdge(Edge edge);
    public void deleteNode(Node node);

    public void changeNodeName(prefuse.data.Node node, String newName);


    public IView getView();
    public void setView(IView view);

    public void setGraph(Graph graph);
    public Graph getGraph();


    public void updateView();

}
